<?php
	/******************************************
	 *	CURE Partners Page					  *
	 *										  *
	 * 	Author: Joe Morgan					  *
	 * 	Date: 05/2009						  *
	 * 										  *
	 * 	Comments:							  *
	 * 	May God be glorified through the use  *
	 *  of this website, even through the     *
	 *  weakness shown in myself as a         *
	 *  developer, a human, and a christian.  *
	 * 										  *
	 * 	In Hoc Signo Vinces					  *
	 *****************************************/
	
	include('db_partners.php');

	// Global declaration for access to Affiliates database
	$partners_db = new dbPartners();
?>

<html>
	<head>
		<title>C.U.R.E. Partners And Affiliates</title>
	</head>
	<body>
	<?php
	$partners = $partners_db->get_partners();
	?>
		<table border="1">
		<?php 
		while($partners_row = mysql_fetch_array(($partners))) 
		{ 
		?>
			<tr>
				<td>
					<b>Name:</b> <?php echo($partners_row['name']) ?><br/>
					<b>E-mail:</b> <a href="mailto:<?php echo($partners_row['email']) ?>"><?php echo($partners_row['email']) ?></a><br/>
					<b>Contact Name:</b> <?php echo($partners_row['contact_name']) ?> <br/>
					<b>Website:</b> <a href="<?php echo($partners_row['website']) ?> "><?php echo($partners_row['website']) ?></a><br/>
					<b>Phone:</b> <?php echo($partners_row['phone_number']) ?><br/>
					<b>Fax:</b> <?php echo($partners_row['fax_number']) ?><br/>
				</td>
			</tr>
		<?php 
		}	
		?>
		</table>

	</body>
</html>